package com.company.cloud.gateway.component.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.company.cloud.common.bean.LoginUserInfo;
import com.company.cloud.common.exception.BusinessException;
import com.company.common.auth.service.SecurityUrlService;

@Service
public class AuthCheckService {

	
	
	@Autowired
	private SecurityUrlService securityUrlService;
	
	
	public LoginUserInfo check(String servletPath,String contextPath,String token) throws BusinessException{
		System.out.println("+++++AuthCheckService:check");
		return securityUrlService.check(servletPath, token);
	}
	
	
	
	
	
	
}
